<template>
  <div class="item" @click="toUrl">
    <p v-text="item.name"></p>
    <span v-text="item.title"></span>
    <div>查看详情 ></div>
  </div>
</template>
<script>
//import {getSDK} from '../../../service/wxShare.js'//非组件需要添加wxshare.js

export default {
  components:{

  },
  props:['item'],
  data(){
    return {
      
    }
  },
  methods:{
    toUrl(){
      location.href = this.item.url
    }
  }
}
</script>
<style lang="less" scoped>
@import '../../../../style/mixin.less';
  .item{
    padding-left: 0.7733rem;
    margin-bottom: 0.8533rem;
    p{
      .sc(0.3733rem,#dd3930)
    }
    span{
      .sc(0.28rem,#000000)
    }
    div{
      .sc(0.2667rem,#d9d9d9)
    }
  }
</style>
